package it.cs.navigation;

import javax.swing.JFrame;

public class NavigationBean {
	private static NavigationBean nb; 
	private static JFrame frame;

	private NavigationBean(){
		frame = new JFrame();
	}
	
	public static NavigationBean getInstance(){
		if(nb == null)
			return new NavigationBean();
		else return nb;
	}
	
	public static JFrame getFrame(){
		getInstance();
		return frame;
	}
}
